package com.order.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("stock_warning_config")
public class StockWarningConfig {
    @TableId(type = IdType.ASSIGN_UUID)
    private String configId;
    private String productId;
    private Integer warningThreshold;
    private Boolean isEnabled;  // 是否启用该预警配置
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}